-- GENERATED SPELL FOR [Gravelsnout Vermin] --


function spell0_4112(pUnit, Event) --@Infected Wound,n/a--
pUnit:FullCastSpellOnTarget(3427,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4112', 30289, 1)
end

function Sorts_4112(pUnit, Event)
local choix_sorts_4112 = math.random(0, 0)
if choix_sorts_4112 == 0 then
pUnit:RegisterEvent('spell0_4112', 1, 1)
end
end

function mob4112_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4112', math.random(1500, 3000), 1)
end

function mob4112_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4112_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4112_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4112, 1, 'mob4112_Action')
RegisterUnitEvent(4112, 2, 'mob4112_Leave')
RegisterUnitEvent(4112, 3, 'mob4112_Kill')
RegisterUnitEvent(4112, 4, 'mob4112_Die')
